/*
 * UAE - The Un*x Amiga Emulator
 *
 * CIA chip support
 *
 * (c) 1995 Bernd Schmidt
 */

#pragma once

extern void CIA_reset();
extern void CIA_vsync_prehandler();
extern void CIA_hsync_prehandler();
extern void CIA_vsync_posthandler(bool);
extern void CIA_hsync_posthandler(bool);
extern void CIA_handler();

extern void diskindex_handler();
extern void cia_parallelack();
extern void cia_diskindex();

extern void dumpcia();
extern void rethink_cias();
extern int resetwarning_do(int);

extern int parallel_direct_write_data(byte, byte);
extern int parallel_direct_read_data(byte*);
extern int parallel_direct_write_status(byte, byte);
extern int parallel_direct_read_status(byte*);

extern void rtc_hardreset();